package com.ftf.tp.blog.domain.configuration.dos;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.Date;

/**
 * @author tanghao
 * @date 2022/8/11
 */
@Data
public class QuestionDO {

    private Long id;

    /**
     * 问题标题
     */
    private String questionTitle;

    /**
     * 问题描述
     */
    private String questionDescribe;

    /**
     * 提问人id
     */
    private Long askerId;

    /**
     * 提问人名称
     */
    private Long askerName;

    /**
     * 点赞数
     */
    @TableField(value = "support_nums")
    private Integer supportNums;

    /**
     * 回答数
     */
    @TableField(value = "answer_nums")
    private Integer answerNums;

    /**
     * 关注数
     */
    @TableField(value = "focus_nums")
    private Integer focusNums;

    /**
     * 热度
     */
    @TableField(value = "hot_nums")
    private Integer hotNums;

    /**
     * 创建时间
     */
    @TableField(value = "created_time")
    private Date createdTime;

    /**
     * 更新时间
     */
    @TableField(value = "updated_time")
    private Date updatedTime;
}
